const routes = [
    {
        path: '/users',
        component: {
            template: '<iframe src="pages/users.html" class="w-100 h-100 border-0"></iframe>'
        },
        name: '用户管理'
    },
    {
        path: '/audit',
        component: {
            template: '<iframe src="pages/audit.html" class="w-100 h-100 border-0"></iframe>'
        },
        name: '审核管理'
    },
    {
        path: '/templates',
        component: {
            template: '<iframe src="pages/templates.html" class="w-100 h-100 border-0"></iframe>'
        },
        name: '采集模板'
    }
];

const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes
}); 